<template>
	<div>
		<DetailPage v-bind="BlockchainConfig" :page-row-data="nowRowData" :model="formModel" style="width: 100%; margin: 0 auto"></DetailPage>
	</div>
</template>

<script setup lang="ts">
import apiMod from '@/apiMod/index'
import { onMounted } from 'vue'
import { BlockchainConfig } from '../config'
import DetailPage from '@/views/aplid/DetailPage/index.vue'


const props = defineProps({
	nowRowData: {
		type: Object,
	},
})


const formModel = ref({})
const getInitData = () => {
	apiMod
		.view_bcIccPunchRecord_queryBlockchainInfo({
			code: 4000,
			key: props.nowRowData?.id,
		})
		.then((res) => {
      formModel.value = res.data
		})
}

onMounted(() => {
	getInitData()
})
</script>

<style scoped></style>
